/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * abstDomain: A13688 (C-0-T13129-A13130-A13644-A13688-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPathologySpecialistOrTechnologistHIPAA()
 * @model extendedMetaData="name='PathologySpecialistOrTechnologistHIPAA'"
 * @generated
 */
public enum PathologySpecialistOrTechnologistHIPAA implements Enumerator {
	/**
	 * The '<em><b>246QB0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QB0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QB0000N(0, "_246QB0000N", "246QB0000N"),

	/**
	 * The '<em><b>246QC1000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QC1000N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QC1000N(1, "_246QC1000N", "246QC1000N"),

	/**
	 * The '<em><b>246QC2700N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QC2700N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QC2700N(2, "_246QC2700N", "246QC2700N"),

	/**
	 * The '<em><b>246QH0401N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0401N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0401N(3, "_246QH0401N", "246QH0401N"),

	/**
	 * The '<em><b>246QH0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0000N(4, "_246QH0000N", "246QH0000N"),

	/**
	 * The '<em><b>246QH0600N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0600N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0600N(5, "_246QH0600N", "246QH0600N"),

	/**
	 * The '<em><b>246QI0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QI0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QI0000N(6, "_246QI0000N", "246QI0000N"),

	/**
	 * The '<em><b>246QL0900N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QL0900N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QL0900N(7, "_246QL0900N", "246QL0900N"),

	/**
	 * The '<em><b>246QL0901N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QL0901N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QL0901N(8, "_246QL0901N", "246QL0901N"),

	/**
	 * The '<em><b>246QM0706N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QM0706N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QM0706N(9, "_246QM0706N", "246QM0706N"),

	/**
	 * The '<em><b>246QM0900N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QM0900N_VALUE
	 * @generated
	 * @ordered
	 */
	_246QM0900N(10, "_246QM0900N", "246QM0900N");

	/**
	 * The '<em><b>246QB0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QB0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QB0000N
	 * @model literal="246QB0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QB0000N_VALUE = 0;

	/**
	 * The '<em><b>246QC1000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QC1000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QC1000N
	 * @model literal="246QC1000N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QC1000N_VALUE = 1;

	/**
	 * The '<em><b>246QC2700N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QC2700N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QC2700N
	 * @model literal="246QC2700N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QC2700N_VALUE = 2;

	/**
	 * The '<em><b>246QH0401N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0401N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0401N
	 * @model literal="246QH0401N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0401N_VALUE = 3;

	/**
	 * The '<em><b>246QH0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0000N
	 * @model literal="246QH0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0000N_VALUE = 4;

	/**
	 * The '<em><b>246QH0600N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0600N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0600N
	 * @model literal="246QH0600N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0600N_VALUE = 5;

	/**
	 * The '<em><b>246QI0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QI0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QI0000N
	 * @model literal="246QI0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QI0000N_VALUE = 6;

	/**
	 * The '<em><b>246QL0900N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QL0900N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QL0900N
	 * @model literal="246QL0900N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QL0900N_VALUE = 7;

	/**
	 * The '<em><b>246QL0901N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QL0901N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QL0901N
	 * @model literal="246QL0901N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QL0901N_VALUE = 8;

	/**
	 * The '<em><b>246QM0706N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QM0706N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QM0706N
	 * @model literal="246QM0706N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QM0706N_VALUE = 9;

	/**
	 * The '<em><b>246QM0900N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QM0900N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QM0900N
	 * @model literal="246QM0900N"
	 * @generated
	 * @ordered
	 */
	public static final int _246QM0900N_VALUE = 10;

	/**
	 * An array of all the '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PathologySpecialistOrTechnologistHIPAA[] VALUES_ARRAY =
		new PathologySpecialistOrTechnologistHIPAA[] {
			_246QB0000N,
			_246QC1000N,
			_246QC2700N,
			_246QH0401N,
			_246QH0000N,
			_246QH0600N,
			_246QI0000N,
			_246QL0900N,
			_246QL0901N,
			_246QM0706N,
			_246QM0900N,
		};

	/**
	 * A public read-only list of all the '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PathologySpecialistOrTechnologistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologySpecialistOrTechnologistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PathologySpecialistOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologySpecialistOrTechnologistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PathologySpecialistOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pathology Specialist Or Technologist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologySpecialistOrTechnologistHIPAA get(int value) {
		switch (value) {
			case _246QB0000N_VALUE: return _246QB0000N;
			case _246QC1000N_VALUE: return _246QC1000N;
			case _246QC2700N_VALUE: return _246QC2700N;
			case _246QH0401N_VALUE: return _246QH0401N;
			case _246QH0000N_VALUE: return _246QH0000N;
			case _246QH0600N_VALUE: return _246QH0600N;
			case _246QI0000N_VALUE: return _246QI0000N;
			case _246QL0900N_VALUE: return _246QL0900N;
			case _246QL0901N_VALUE: return _246QL0901N;
			case _246QM0706N_VALUE: return _246QM0706N;
			case _246QM0900N_VALUE: return _246QM0900N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PathologySpecialistOrTechnologistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PathologySpecialistOrTechnologistHIPAA
